/*
*/
#ifndef	__EVENT_H
#define	__EVENT_H

#ifndef	__SYSTEM_H
#include "system.h"
#endif

#define	EVN_NULL	0
#define	EVN_KEYPRESS	0x01000000
#define	EVN_KEYRELEASE	0x02000000
#define	EVN_SHAKE	0x03000000
#define	EVN_I2C		0x04000000
#define	EVN_USB		0x05000000
#define	EVN_MAX		0x06000000
#define	EVN_MASK	0xff000000

u32	_GetEvent	(u32);
u32	GetKey		(u32);
u32	SetEvent	(u32);
u32	WaitEvent	(void);

#endif